Dynamically Sizing List Box Row Height

Description

To specify that the row height in the list box is computed dynamically based on the height of the row it is displaying, use the 'D' directive in the list box format string. For example, to fix the previous script, change the format string to:

[%d;O={F=@1}{J=CL}{@1}%.80,10font^#fonts];

This change causes the list box to be displayed like this, Dynamically Sizing Row Height in a List Box :

images/XD_List_Box_D_directive.gif

Limitations

Desktop applications only.

See Also